[INFO] cloning repository https://github.com/pyslia7326/riscvos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pyslia7326/riscvos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyslia7326%2Friscvos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyslia7326%2Friscvos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 16e7ae46434d7c0711a84693bf70d2de77566e47
[INFO] fixing pyslia7326/riscvos against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyslia7326%2Friscvos" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/pyslia7326/riscvos
[INFO] finished tweaking git repo https://github.com/pyslia7326/riscvos
[INFO] tweaked toml for git repo https://github.com/pyslia7326/riscvos written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pyslia7326/riscvos on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pyslia7326/riscvos already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d2be2e899ff95c4fe69136d48cc6c2d28166b8030576378ee2da185bbe2af351
[INFO] running `Command { std: "docker" "start" "d2be2e899ff95c4fe69136d48cc6c2d28166b8030576378ee2da185bbe2af351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d2be2e899ff95c4fe69136d48cc6c2d28166b8030576378ee2da185bbe2af351" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2be2e899ff95c4fe69136d48cc6c2d28166b8030576378ee2da185bbe2af351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d2be2e899ff95c4fe69136d48cc6c2d28166b8030576378ee2da185bbe2af351" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking riscvos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/lib/task/scheduler.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |     idle_task_struct.xepc = idle_task as u64;
[INFO] [stdout]    |                                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 90 |     idle_task_struct.xepc = idle_task as *const () as u64;
[INFO] [stdout]    |                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/lib/task/scheduler.rs:93:39
[INFO] [stdout]    |
[INFO] [stdout] 93 |     idle_task_struct.xepc = idle_task as u64;
[INFO] [stdout]    |                                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 93 |     idle_task_struct.xepc = idle_task as *const () as u64;
[INFO] [stdout]    |                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib/task/scheduler.rs:172:43
[INFO] [stdout]     |
[INFO] [stdout] 172 |         new_task_struct.xepc = task_start as u64;
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 172 |         new_task_struct.xepc = task_start as *const () as u64;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/lib/task/scheduler.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |     idle_task_struct.xepc = idle_task as u64;
[INFO] [stdout]    |                                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 90 |     idle_task_struct.xepc = idle_task as *const () as u64;
[INFO] [stdout]    |                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/lib/task/scheduler.rs:93:39
[INFO] [stdout]    |
[INFO] [stdout] 93 |     idle_task_struct.xepc = idle_task as u64;
[INFO] [stdout]    |                                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 93 |     idle_task_struct.xepc = idle_task as *const () as u64;
[INFO] [stdout]    |                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib/task/scheduler.rs:172:43
[INFO] [stdout]     |
[INFO] [stdout] 172 |         new_task_struct.xepc = task_start as u64;
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 172 |         new_task_struct.xepc = task_start as *const () as u64;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | / fn panic(info: &PanicInfo<'_>) -> ! {
[INFO] [stdout] 67 | |     lib::uart::print_string("panic\n");
[INFO] [stdout] 68 | |     if let Some(location) = info.location() {
[INFO] [stdout] 69 | |         lib::uart::print_string(location.file());
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |     loop {}
[INFO] [stdout] 80 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/622891a4e29178280638a6b63a8908bde2c0c854/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`riscvos`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `riscvos` (bin "riscvos" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `riscvos` (bin "riscvos") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "d2be2e899ff95c4fe69136d48cc6c2d28166b8030576378ee2da185bbe2af351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2be2e899ff95c4fe69136d48cc6c2d28166b8030576378ee2da185bbe2af351", kill_on_drop: false }`
[INFO] [stdout] d2be2e899ff95c4fe69136d48cc6c2d28166b8030576378ee2da185bbe2af351
